cmake_minimum_required(VERSION 3.12)
# 添加对gdb的支持
SET(CMAKE_BUILD_TYPE "Debug")
SET(CMAKE_CXX_FLAGS_DEBUG "$ENV{CXXFLAGS} -O0 -Wall -g2 -ggdb")
SET(CMAKE_CXX_FLAGS_RELEASE "$ENV{CXXFLAGS} -O3 -Wall")

project(My2022Test)
add_subdirectory(thread_pool)
add_subdirectory(timer)
add_subdirectory(singleton)